package com.etymgiko.synccommandexecutor;

/**
 * @author Ivan Holub
 */
public class Main {

    public static void main(String [] args) {
//        String command = "cmd /c notepad.exe";
        String command = "notepad.exe";
        int waitTime = 10; //seconds
        SyncCommandExecutor sce = new SyncCommandExecutor(command, waitTime);
        sce.runProcess();
        System.exit(0);
    }

}
